package com.bl.weilan.service.biz.institution;

import com.bl.weilan.dao.model.InstitutionEntity;
import com.bl.weilan.service.vo.DelBody;
import com.bl.weilan.service.vo.DelListBody;
import com.bl.weilan.service.vo.company.CompanyListVo;
import com.bl.weilan.service.vo.companyopponent.CompanyOpponentListVo;
import com.bl.weilan.service.vo.informationtype.InformationTypeVo;
import com.bl.weilan.service.vo.institution.*;
import org.springframework.data.domain.Pageable;

public interface InstitutionService {
    //查询机构列表
    InstitutionListVo getInstitutionLists(String id, String type, String order, Pageable pageable );

    int getInstitutionNum(String id);

    InstitutionVo getDetailById(String id);

    InstitutionListVo getInstitutionLists(String id);

    CompanyListVo getCompanyListVo(String id, Pageable pageable);

    InstitutionTeamListVo getInstitutionTeamListVo(String id, Pageable pageable);

    //增加机构
    void add(InstitutionAddVo institutionAddVo);
    //修改机构
    void modify(InstitutionModVo institutionModVo);
    // 删除机构
    void del(DelBody id);
    //批量删除机构
    void delList(DelListBody idList);
    //获取机构列表
    InstitutionListVo getAllInstitutionLists(Pageable pageable );
    //根据姓名获取机构列表
    InstitutionListVo getInstitutionByName(String name, Pageable pageable );



}
